You can use -G. For CentOS Doc. -G<group-list> List of additional (other than default) group names or group numbers, separated by commas, of which the user ... ... <看更多>
Search
Search
You can use -G. For CentOS Doc. -G<group-list> List of additional (other than default) group names or group numbers, separated by commas, of which the user ... ... <看更多>
I am trying to automate setting up a user on centos as part of my script. Here is what i am doing:- /usr/sbin/useradd my-user ... ... <看更多>